{
    interface UserInterface{
        name:string,
        age:number
    }
    
    class User{
        private _info : UserInterface
        constructor(info : UserInterface){
            this._info = info
        }
    
        get info():UserInterface{
            return this._info
        }
    }
    
    const u1 = new User({name:"后盾人",age:18});
    console.log(u1.info);
}